 <!--user_profile starts-->
<div class="user_profile">
	<div class="user">
    	<div class="user_image" style=" background-position:center center;  background-image:url(<?php if(isset($result[0]->user_profile_photo) && $result[0]->user_profile_photo!=NULL){ echo $result[0] -> user_profile_photo;} else { echo ASSET_URL.'img/user.png'; } ?>) ; background-repeat:no-repeat;">
	    </div>
	    <div class="user_name">
	    	<?php if(isset($result[0] -> user_first_name))echo $result[0] -> user_first_name; ?>
	    </div>
	    <div class="clearfix"></div>
	    <div class="bottom_image">
	    	<img src="<?php echo ASSET_URL . 'img/bottom_image.png'; ?>">
	    </div>
	</div>
    <div class="Contact_type">
    	<h3>Contact</h3>
        <a href="javascript:void(0);" style="text-decoration:none;"> <?php if(isset($result[0] -> user_email))echo $result[0] -> user_email; ?></a>
    </div>
    <?php if($_SERVER['PATH_INFO'] == '/user/dashboard'){?>
    <div class="edit_profile">
    	<a href="<?php echo BASE_URL . '/user/edit_details'; ?>">EDIT PROFILE</a>
    </div>
    <?php }?>
    <?php if(substr($_SERVER['PATH_INFO'], 0, -2) == '/user/application_new'){?>
     <div class="apply_now">
        <ul>
        	<li>
               	<a href="javascript:void(0)" id="peronal_select" class="<?php if(($this->session->userdata('user_form_next') && $this->session->userdata('user_form_next')=='personal') || ($this->session->userdata('user_form_next1') && $this->session->userdata('user_form_next1')=='personal')){ echo 'active';}else{ echo '';} ?>">Applicant Particulars</a>
            </li>
            <li>
               	<a href="javascript:void(0)" id="edu_select" class="<?php if($this->session->userdata('user_form_next') && $this->session->userdata('user_form_next')=='education'){ echo 'active';}else{ echo '';} ?>">Educational Background</a>
            </li>
            <li>
              	<a href="javascript:void(0)" id="doc_select" class="<?php if($this->session->userdata('user_form_next') && $this->session->userdata('user_form_next')=='document'){ echo 'active';}else{ echo '';} ?>">Supporting Documents</a>
            </li>
            <?php if(isset($form_detail[0]['award_refree_count']) && $form_detail[0]['award_refree_count'] > 0){ ?>
            <li>
               	<a href="javascript:void(0)" id="refree_select" class="<?php if($this->session->userdata('user_form_next') && $this->session->userdata('user_form_next')=='refree'){ echo 'active';}else{ echo '';} ?>">Refree Details</a>
            </li>
            <?php }?>
     	</ul>
     </div>
    <?php }?>
</div>
<!--user_profile ends-->